const http = require('http')

const server = http.createServer((req, res) => {
  if (req.url === '/blog/list') {
    res.end('list-api')
    return false
  }
  res.end('hello')
})

server.listen(80)
console.log('success')